﻿<%@ Page Language="C#" MasterPageFile="~/JOINT/MstPage_JOINT.master" AutoEventWireup="true" ValidateRequest="false" CodeFile="frmJ_TraineeGroupInput.aspx.cs" Inherits="JOINT_frmJ_TraineeGroupInput" Title="入学情報（共通情報）登録" Culture="ja-JP" uiCulture="ja" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
入学情報（共通情報）登録</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript" src="../Js/jquery.min.js"></script>
<script type="text/javascript" src="../js/Validation.js"></script>
<script type="text/javascript">
    $(document).ready(function() {

        $('input:text:first').focus();

        registerControlToValidation("validation");

        formatDate("css_textbox_Calendar", "/");

        registerEnterEvent("css_font_textbox", "<%= btn確認.ClientID %>", 15);

        formatMoney("money", ",", ".");

        $("#ctl00_ContentPlaceHolder1_txt_入国特記事項").attr('maxlength', '1000'); //firefox run, IE no

    });

    function CheckDate入学予定日(oSrc, args) {
        if (args.Value != "") {
            var Valid = checkDate(args.Value);
            ValidatorEnable2(document.getElementById("<%= CustomValidator入学予定日1.ClientID %>"), true);
        }
        ValidatorEnable2(document.getElementById("<%= CustomValidator入学日.ClientID %>"), true);
        ValidatorEnable2(document.getElementById("<%= CustomValidator卒業予定日2.ClientID %>"), true);
    }

    function CheckIsDate入学予定日(oSrc, args) {
        if (args.Value != "") {
            args.IsValid = checkDate(args.Value);
        }
    }

    function CheckDate卒業予定日(oSrc, args) {
        if (args.Value != "") {
            var Valid = checkDate(args.Value);
            ValidatorEnable2(document.getElementById("<%= CustomValidator卒業予定日1.ClientID %>"), true);
        }
        ValidatorEnable2(document.getElementById("<%= CustomValidator卒業日.ClientID %>"), true);
    }

    function CheckIsDate卒業予定日(oSrc, args) {
        if (args.Value != "") {
            args.IsValid = checkDate(args.Value);
        }
    }

    function CheckDate卒業予定日2(oSrc, args) {
        if (args.Value != "") {
            var Valid = checkDate(args.Value);
            if (Valid == true) {
                args.IsValid = checkYearOld($('#ctl00_ContentPlaceHolder1_txt_入学予定日').val(), args.Value, 0, "<");
            }
            ValidatorEnable2(document.getElementById("<%= CustomValidator卒業予定日1.ClientID %>"), true);
        }
    }

    function CheckDate入学日(oSrc, args) {
        if (args.Value != "") {
            var Valid = checkDate(args.Value);
            if (Valid == true ) {
               args.IsValid = checkYearOld($('#ctl00_ContentPlaceHolder1_txt_入学予定日').val(), args.Value, 0, "<=");
            }
            ValidatorEnable2(document.getElementById("<%= CustomValidator入学日1.ClientID %>"), true);
        }
    }

    function CheckIsDate入学日(oSrc, args) {
        if (args.Value != "") {
            args.IsValid = checkDate(args.Value);
        }
    }

    function CheckDate卒業日(oSrc, args) {
        if (args.Value != "") {
            var Valid = checkDate(args.Value);
            if (Valid == true) {
                args.IsValid = checkYearOld($('#ctl00_ContentPlaceHolder1_txt_卒業予定日').val(), args.Value, 0, "<=");
            }
            ValidatorEnable2(document.getElementById("<%= CustomValidator卒業日1.ClientID %>"), true);
        }
    }

    function CheckIsDate卒業日(oSrc, args) {
        if (args.Value != "") {
            args.IsValid = checkDate(args.Value);
        }
    }

    function CheckDate入国予定年月日(oSrc, args) {
        if (args.Value != "") {
            var Valid = checkDate(args.Value);
            ValidatorEnable2(document.getElementById("<%= CustomValidator入国予定年月日1.ClientID %>"), true);
        }
        ValidatorEnable2(document.getElementById("<%= CustomValidator入国年月日.ClientID %>"), true);
    }

    function CheckIsDate入国予定年月日(oSrc, args) {
        if (args.Value != "") {
            args.IsValid = checkDate(args.Value);
        }
    }

    function CheckDate入国年月日(oSrc, args) {
        if (args.Value != "") {
            var Valid = checkDate(args.Value);
            if (Valid == true) {
                args.IsValid = checkYearOld($('#ctl00_ContentPlaceHolder1_txt_入国予定年月日').val(), args.Value, 0, "<=");
            }
            ValidatorEnable2(document.getElementById("<%= CustomValidator入国年月日1.ClientID %>"), true);
        }
    }

    function CheckIsDate入国年月日(oSrc, args) {
        if (args.Value != "") {
            args.IsValid = checkDate(args.Value);
        }
    }

    function maxLength(field, maxChars) {
        if (field.value.length >= maxChars) {
            event.returnValue = false;
            return false;
        }
    }

    function maxLengthPaste(field, maxChars) {
        event.returnValue = false;
        if ((field.value.length + window.clipboardData.getData("Text").length) > maxChars) {
            return false;
        }
        event.returnValue = true;
    }

</script>
<style type="text/css">
    .invalid
    {
        background-color: #E6EDCC;
    }
    .css_font_textbox
    {
    	font-family: MS UI Gothic;
        font-size: 11pt;
    }
    .css_align_right
    {
    	ime-mode: disabled;
        text-align: right;	
    }
    .set_width
    {
        display: block;
        float: left;
        line-height: 23px;
        padding-right: 10px;
        width: 400px;
        word-wrap: break-word;
    }
    .imemode_active
    {
    	ime-mode: active;
    }
</style>
    <div class="maindiv1">
        <div class="detail-admin-row" >
        <br />
            <span class="detail-admin-label">グループ名 :</span>
            <asp:Label ID="lbl_グループ名" runat="server" CssClass="set_width"></asp:Label>
        </div>
        <div class="detail-admin-row">
            <span class="detail-admin-label" >入学予定日 :</span>
              <asp:TextBox id="txt_入学予定日" runat="server" ValidationGroup="detailForm" onkeypress="return InputNumberKeys(this, event)"
                CssClass="css_font_textbox css_textbox_Calendar validation textbox width_calendar" MaxLength="8"></asp:TextBox> 
              <asp:ImageButton id="imb_入学予定日" runat="server" Height="19px" ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm"></asp:ImageButton> 
              <ajaxToolkit:CalendarExtender id="CalendarExtender4" runat="server" Format="yyyy/MM/dd" TargetControlID="txt_入学予定日" PopupButtonID="imb_入学予定日"> </ajaxToolkit:CalendarExtender> 
               <asp:CustomValidator ID= "CustomValidator入学予定日" runat="server" 
                    ControlToValidate="txt_入学予定日" 
                    ClientValidationFunction= "CheckDate入学予定日"
                    ErrorMessage="1.0" 
                    Display ="None" 
                    SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender1"
                    TargetControlID="CustomValidator入学予定日" 
                    HighlightCssClass="invalid" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:CustomValidator ID= "CustomValidator入学予定日1" runat="server" 
                    ControlToValidate="txt_入学予定日" 
                    ClientValidationFunction= "CheckIsDate入学予定日"
                    ErrorMessage="1.1" 
                    Display ="None" 
                    SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender18"
                    TargetControlID="CustomValidator入学予定日1" 
                    HighlightCssClass="invalid1" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator入学予定日"
                    ControlToValidate="txt_入学予定日"
                    Display="None"
                    ErrorMessage="1.2" 
                    SetFocusOnError="False" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender19"
                        TargetControlID="RequiredFieldValidator入学予定日" 
                        HighlightCssClass="invalid2" Width="240px"
                        CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"/>
            <span class="required-field"> *</span>
        </div>
        <div class="detail-admin-row">
            <span class="detail-admin-label" >卒業予定日 :</span>
              <asp:TextBox id="txt_卒業予定日" runat="server" ValidationGroup="detailForm" onkeypress="return InputNumberKeys(this, event)" 
                CssClass="css_font_textbox css_textbox_Calendar validation textbox width_calendar" MaxLength="8"></asp:TextBox> 
              <asp:ImageButton id="imb_卒業予定日" runat="server" Height="19px" ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm"></asp:ImageButton> 
              <ajaxToolkit:CalendarExtender id="CalendarExtender1" runat="server" Format="yyyy/MM/dd" TargetControlID="txt_卒業予定日" PopupButtonID="imb_卒業予定日"> </ajaxToolkit:CalendarExtender> 
              <asp:CustomValidator ID= "CustomValidator卒業予定日" runat="server" 
                    ControlToValidate="txt_卒業予定日" 
                    ClientValidationFunction= "CheckDate卒業予定日"
                    ErrorMessage="2.0" 
                    Display ="None" 
                    SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender2"
                    TargetControlID="CustomValidator卒業予定日" 
                    HighlightCssClass="invalid" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:CustomValidator ID= "CustomValidator卒業予定日1" runat="server" 
                    ControlToValidate="txt_卒業予定日" 
                    ClientValidationFunction= "CheckIsDate卒業予定日"
                    ErrorMessage="2.1" 
                    Display ="None" 
                    SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender11"
                    TargetControlID="CustomValidator卒業予定日1" 
                    HighlightCssClass="invalid1" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator卒業予定日"
                    ControlToValidate="txt_卒業予定日"
                    Display="None"
                    ErrorMessage="2.2" 
                    SetFocusOnError="False" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender17"
                        TargetControlID="RequiredFieldValidator卒業予定日" 
                        HighlightCssClass="invalid2" Width="240px"
                        CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"/>
                <asp:CustomValidator ID= "CustomValidator卒業予定日2" runat="server" 
                    ControlToValidate="txt_卒業予定日" 
                    ClientValidationFunction= "CheckDate卒業予定日2"
                    ErrorMessage="2.3" 
                    Display ="None" 
                    SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender21"
                    TargetControlID="CustomValidator卒業予定日2" 
                    HighlightCssClass="invalid2" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            <span class="required-field"> *</span>
        </div>
        <div class="detail-admin-row">
            <span class="detail-admin-label" >入学日 :</span>
              <asp:TextBox id="txt_入学日" runat="server" ValidationGroup="detailForm" onkeypress="return InputNumberKeys(this, event)" 
                CssClass="css_font_textbox css_textbox_Calendar validation textbox width_calendar" MaxLength="8"></asp:TextBox> 
              <asp:ImageButton id="imb_入学日" runat="server" Height="19px" ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm"></asp:ImageButton> 
              <ajaxToolkit:CalendarExtender id="CalendarExtender2" runat="server" Format="yyyy/MM/dd" TargetControlID="txt_入学日" PopupButtonID="imb_入学日"> </ajaxToolkit:CalendarExtender> 
                <asp:CustomValidator ID= "CustomValidator入学日" runat="server" 
                    ControlToValidate="txt_入学日" 
                    ClientValidationFunction="CheckDate入学日" 
                    ErrorMessage="3.0" 
                    Display ="None" SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender8"
                    TargetControlID="CustomValidator入学日" 
                    HighlightCssClass="invalid" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:CustomValidator ID= "CustomValidator入学日1" runat="server" 
                    ControlToValidate="txt_入学日" 
                    ClientValidationFunction="CheckIsDate入学日" 
                    ErrorMessage="3.1" 
                    Display ="None" SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender14"
                    TargetControlID="CustomValidator入学日1" 
                    HighlightCssClass="invalid1" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
        </div>
        <div class="detail-admin-row">
            <span class="detail-admin-label" >卒業日 :</span>
              <asp:TextBox id="txt_卒業日" runat="server" ValidationGroup="detailForm" 
                onkeypress="return InputNumberKeys(this, event)" 
                CssClass="css_font_textbox css_textbox_Calendar validation textbox width_calendar" MaxLength="8"></asp:TextBox> 
              <asp:ImageButton id="imb_卒業日" runat="server" Height="19px" ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm"></asp:ImageButton> 
              <ajaxToolkit:CalendarExtender id="CalendarExtender卒業日" runat="server" Format="yyyy/MM/dd" TargetControlID="txt_卒業日" PopupButtonID="imb_卒業日"> </ajaxToolkit:CalendarExtender> 
              <asp:CustomValidator ID= "CustomValidator卒業日" runat="server" 
                    ControlToValidate="txt_卒業日" 
                    ClientValidationFunction="CheckDate卒業日" 
                    ErrorMessage="4.0" 
                    Display ="None" SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender9"
                    TargetControlID="CustomValidator卒業日" 
                    HighlightCssClass="invalid" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:CustomValidator ID= "CustomValidator卒業日1" runat="server" 
                    ControlToValidate="txt_卒業日" 
                    ClientValidationFunction="CheckIsDate卒業日" 
                    ErrorMessage="4.1" 
                    Display ="None" SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender15"
                    TargetControlID="CustomValidator卒業日1" 
                    HighlightCssClass="invalid1" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" /> 
        </div>
        <div class="detail-admin-row">
            <span class="detail-admin-label" >入国予定年月日 :</span>
              <asp:TextBox id="txt_入国予定年月日" runat="server" ValidationGroup="detailForm" onkeypress="return InputNumberKeys(this, event)" 
                CssClass="css_font_textbox css_textbox_Calendar validation textbox width_calendar" MaxLength="8"></asp:TextBox> 
              <asp:ImageButton id="imb_入国予定年月日" runat="server" Height="19px" ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm"></asp:ImageButton> 
              <ajaxToolkit:CalendarExtender id="CalendarExtender5" runat="server" Format="yyyy/MM/dd" TargetControlID="txt_入国予定年月日" PopupButtonID="imb_入国予定年月日"> </ajaxToolkit:CalendarExtender> 
              <asp:CustomValidator ID= "CustomValidator入国予定年月日" runat="server" 
                    ControlToValidate="txt_入国予定年月日" 
                    ClientValidationFunction= "CheckDate入国予定年月日"
                    ErrorMessage="5.0" 
                    Display ="None" 
                    SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender3"
                    TargetControlID="CustomValidator入国予定年月日" 
                    HighlightCssClass="invalid" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:CustomValidator ID= "CustomValidator入国予定年月日1" runat="server" 
                    ControlToValidate="txt_入国予定年月日" 
                    ClientValidationFunction= "CheckIsDate入国予定年月日"
                    ErrorMessage="5.1" 
                    Display ="None" 
                    SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender12"
                    TargetControlID="CustomValidator入国予定年月日1" 
                    HighlightCssClass="invalid1" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator入国予定年月日"
                    ControlToValidate="txt_入国予定年月日"
                    Display="None"
                    ErrorMessage="5.2" 
                    SetFocusOnError="False" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender20"
                        TargetControlID="RequiredFieldValidator入国予定年月日" 
                        HighlightCssClass="invalid2" Width="240px"
                        CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"/>
            <span class="required-field"> *</span>
        </div>
        <div class="detail-admin-row">
            <span class="detail-admin-label" >入国年月日 :</span>
              <asp:TextBox id="txt_入国年月日" runat="server" ValidationGroup="detailForm" onkeypress="return InputNumberKeys(this, event)" 
                CssClass="css_font_textbox css_textbox_Calendar validation textbox width_calendar" MaxLength="8"></asp:TextBox> 
              <asp:ImageButton id="imb_入国年月日" runat="server" Height="19px" ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm"></asp:ImageButton> 
              <ajaxToolkit:CalendarExtender id="CalendarExtender6" runat="server" Format="yyyy/MM/dd" TargetControlID="txt_入国年月日" PopupButtonID="imb_入国年月日"> </ajaxToolkit:CalendarExtender> 
                <asp:CustomValidator ID= "CustomValidator入国年月日" runat="server" 
                    ControlToValidate="txt_入国年月日" 
                    ClientValidationFunction="CheckDate入国年月日" 
                    ErrorMessage="6.0" 
                    Display ="None" SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender10"
                    TargetControlID="CustomValidator入国年月日" 
                    HighlightCssClass="invalid" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:CustomValidator ID= "CustomValidator入国年月日1" runat="server" 
                    ControlToValidate="txt_入国年月日" 
                    ClientValidationFunction="CheckIsDate入国年月日" 
                    ErrorMessage="6.1" 
                    Display ="None" SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender16"
                    TargetControlID="CustomValidator入国年月日1" 
                    HighlightCssClass="invalid1" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" /> 
        </div>
        <div class="detail-admin-row" >
            <span class="detail-admin-label">入国特記事項 :</span>
            <asp:TextBox ID="txt_入国特記事項" runat="server" CssClass="css_font_textbox textarea imemode_active width3" 
                onKeyPress='return maxLength(this,"1000");' 
                onpaste='return maxLengthPaste(this,"1000");'
                TextMode="MultiLine"></asp:TextBox>
        </div>
        <div class="detail-admin-row" >
            <span class="detail-admin-label">上陸港 :</span>
            <asp:DropDownList ID="ddl_上陸港" runat="server" 
                CssClass="css_font_textbox dropdownlist width2 validation"></asp:DropDownList>
            <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator上陸港"
                    ControlToValidate="ddl_上陸港"
                    Display="None"
                    SetFocusOnError="False"
                    InitialValue = "-1" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender4"
                    HighlightCssClass="invalid" Width="240px"
                    TargetControlID="RequiredFieldValidator上陸港" 
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            <span class="required-field">&nbsp*</span>
        </div>
        <div class="detail-admin-row" >
            <span class="detail-admin-label">犯罪理由処分 :</span>
            <asp:DropDownList ID="ddl_犯罪理由処分" runat="server" 
                CssClass="css_font_textbox dropdownlist width2 validation">
            <asp:ListItem Value="-1" selected="true">[選択]</asp:ListItem>
            <asp:ListItem Value="1">有</asp:ListItem>
            <asp:ListItem Value="0">無</asp:ListItem>
            </asp:DropDownList>
            <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator犯罪理由処分"
                    ControlToValidate="ddl_犯罪理由処分"
                    Display="None"
                    InitialValue = "-1"
                    SetFocusOnError="False" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender5"
                    HighlightCssClass="invalid" Width="240px"
                    TargetControlID="RequiredFieldValidator犯罪理由処分" 
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" /> 
            <span class="required-field">&nbsp*</span>
        </div>
        <div class="detail-admin-row" >
            <span class="detail-admin-label">強制退去出国 :</span>
            <asp:DropDownList ID="ddl_強制退去出国" runat="server" 
                CssClass="css_font_textbox dropdownlist width2 validation">
            <asp:ListItem Value="-1" selected="true">[選択]</asp:ListItem>
            <asp:ListItem Value="1">有</asp:ListItem>
            <asp:ListItem Value="0">無</asp:ListItem>
            </asp:DropDownList>
            <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator強制退去出国"
                    ControlToValidate="ddl_強制退去出国"
                    Display="None"
                    InitialValue = "-1"
                    SetFocusOnError="False" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender6"
                    HighlightCssClass="invalid" Width="240px"
                    TargetControlID="RequiredFieldValidator強制退去出国" 
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" /> 
            <span class="required-field">&nbsp*</span>
        </div>
         <div class="detail-admin-row" >
            <span class="detail-admin-label">強制退去出国回数 :</span>
            <asp:TextBox ID="txt_強制退去出国回数" runat="server" onpaste="return false;" onkeypress="return InputNumberKeys(this, event)"
                 CssClass="css_font_textbox css_align_right money validation textbox width2" MaxLength="8"></asp:TextBox>
             <asp:CustomValidator ID= "CustomValidator強制退去出国回数" runat="server" 
                    ControlToValidate="txt_強制退去出国回数" 
                    ClientValidationFunction="checkMoney" 
                    Display ="None" SetFocusOnError="False" ValidateEmptyText="True"/>
              <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender22"
                    TargetControlID="CustomValidator強制退去出国回数" 
                    HighlightCssClass="invalid" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
        </div>
         <div class="detail-admin-row" >
            <span class="detail-admin-label">強制退去出国送還歴 :</span>
              <asp:TextBox id="txt_強制退去出国送還歴" runat="server" ValidationGroup="detailForm" onkeypress="return InputNumberKeys(this, event)" 
                 CssClass="css_font_textbox css_textbox_Calendar validation textbox width_calendar" MaxLength="8"></asp:TextBox> 
              <asp:ImageButton id="imb_強制退去出国送還歴" runat="server" Height="19px" ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm"></asp:ImageButton> 
              <ajaxToolkit:CalendarExtender id="CalendarExtender7" runat="server" Format="yyyy/MM/dd" TargetControlID="txt_強制退去出国送還歴" PopupButtonID="imb_強制退去出国送還歴"> </ajaxToolkit:CalendarExtender> 
              <asp:CustomValidator ID= "CustomValidator強制退去出国送還歴" runat="server" 
                    ControlToValidate="txt_強制退去出国送還歴" 
                    ClientValidationFunction="isDate" 
                    Display ="None" SetFocusOnError="False" />
              <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender13"
                    TargetControlID="CustomValidator強制退去出国送還歴" 
                    HighlightCssClass="invalid" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
        </div>
        <div class="detail-admin-row" >
            <span class="detail-admin-label">保証金徴収 :</span>
            <asp:DropDownList ID="ddl_保証金徴収" runat="server" 
                CssClass="css_font_textbox dropdownlist width2 validation">
            <asp:ListItem Value="-1" selected="true">[選択]</asp:ListItem>
            <asp:ListItem Value="1">有</asp:ListItem>
            <asp:ListItem Value="0">無</asp:ListItem>
            </asp:DropDownList>
            <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator保証金徴収"
                    ControlToValidate="ddl_保証金徴収"
                    Display="None"
                    InitialValue = "-1"
                    SetFocusOnError="False" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender7"
                    HighlightCssClass="invalid" Width="240px"
                    TargetControlID="RequiredFieldValidator保証金徴収" 
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" /> 
            <span class="required-field">&nbsp*</span>
        </div>
         <div class="detail-admin-row" >
            <span class="detail-admin-label">保証金徴収管理機関 :</span>
            <asp:TextBox ID="txt_保証金徴収管理機関" runat="server"
                 CssClass="css_font_textbox dropdownlist width3 imemode_active" MaxLength="100"></asp:TextBox>
        </div>
         <div class="detail-admin-row" >
            <span class="detail-admin-label">保証金徴収財産 :</span>
            <asp:TextBox ID="txt_保証金徴収財産" runat="server"
                 CssClass="css_font_textbox dropdownlist width3 imemode_active" MaxLength="100"></asp:TextBox>
        </div>
        <div class="div_height20"></div>
                <div class="btn_last floatR" style="padding-right:50px">
                <asp:Button ID="btn確認"  runat="server" Text="確認" OnClick="btn確認_Click"  CssClass="btn" OnClientClick="javascript:focusToControlErr();"/>
                </div>
        <div class="div_height20"></div>
    </div>
<div>&nbsp;</div>
  <br />
</asp:Content>

